package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.RcglSignPointCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.RcglSignPointResultDTO;
import com.engine4cloud.tdf.supervision.entity.RcglSignPointEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface RcglSignPointConvert {

    RcglSignPointConvert INSTANCE = Mappers.getMapper(RcglSignPointConvert.class);

    RcglSignPointEntity create(RcglSignPointCreateDTO s, Long tenantId);

    RcglSignPointResultDTO convert(RcglSignPointEntity s);
}
